#include <math.h>
#include <stdio.h>

void main() {
  FILE * arq = NULL;
  char c, c2;
  int x, x2;
  float y, y2;
	
  if((arq = fopen("arq602.txt","r")) != NULL) {	
	fscanf(arq,"%c %d %f\n", &c, &x, &y);  
	fscanf(arq,"%c %d %f", &c2, &x2, &y2); 
	printf("%c %d %.2f\n", c, x, y);
	printf("%c %d %.2f\n", c2, x2, y2); 
	fclose(arq);			
  }
}
